/**
 * @filename:SysRoleService 2023-10-22 00:33:19
 * @project xxx系统  1.0
 * Copyright(c) 2021 fangdy Co. Ltd.
 * All right reserved.
 */
package org.fdy.bgadmin.service;

import org.fdy.bgadmin.dto.RoleSmallDto;
import org.fdy.bgadmin.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description:(sys_role服务层)
 * @version: 1.0
 * @author: fangdy
 *
 */
public interface SysRoleService extends IService<SysRole> {

    /**
     * 根据用户ID查询
     * @param currentUserId
     * @return
     */
    List<RoleSmallDto> findByUsersId(Long currentUserId);
}
